#include "flightinfo.h"

FlightInfo::FlightInfo(QString flight_number,
                       QString departure,
                       QString destination,
                       QString departure_airport,
                       QString destination_airport,
                       QDateTime departure_time,
                       QDateTime arrival_time,
                       QString airline_company,
                       QString aircraft_model)
    : flight_number(flight_number)
    , departure(departure)
    , destination(destination)
    , departure_airport(departure_airport)
    , destination_airport(destination_airport)
    , departure_time(departure_time)
    , arrival_time(arrival_time)
    , airline_company(airline_company)
    , aircraft_model(aircraft_model)
{}
